package com.xique.door.biz.service;

import com.xique.common.core.web.domain.AjaxResult;
import com.xique.common.core.web.page.TableDataInfo;
import com.xique.door.bean.domain.DAdvert;
import com.xique.door.bean.request.advert.AdvertAddRequest;
import com.xique.door.bean.request.advert.AdvertDownRequest;
import com.xique.door.bean.request.advert.AdvertSearchRequest;
import com.xique.door.bean.request.advert.AdvertUpdateRequest;

import java.util.List;

/**
 * @author: caogq
 * @Date: 2022/3/13 10:51
 * @Description:
 */
public interface IDoorAdvertBizService {
    AjaxResult addAdvert(AdvertAddRequest request);

    AjaxResult FixedInvestmentAddAdvert(AdvertAddRequest request);

    TableDataInfo conditionSearchAdvertList(AdvertSearchRequest request);

    AjaxResult down(AdvertDownRequest request);


    AjaxResult updateAdvert(AdvertUpdateRequest request);

    AjaxResult deleteAdvert(Long id);

    AjaxResult delete(AdvertDownRequest request);


    AjaxResult deleteOne(List<Long> ids, Long advertId);

    AjaxResult downs(List<Long> ids, Long advertId);

    AjaxResult details(AdvertSearchRequest request);
}
